import './PileFoundation.scss'
import { DivImageUrl } from '../../../../../Common/Configure/CommonParameter'

const PileFoundation001 = ({ item }) => {
    return {
        id: item.uuid + '-pile',
        attr: item.uuid,
        position: item.position,
        style: {
            html: `<img class='PileFoundation001' src='${DivImageUrl}PileFoundation001.png'/>`,
            offsetX: -14,
        },
    }
}

const PileFoundation002 = ({ item }) => {
    return {
        id: item.uuid + '-pile',
        attr: item.uuid,
        position: item.position,
        style: {
            html: `<div class='PileFoundation002' style='--color:${item.color}'/>`,
            offsetX: -14,
        },
    }
}

export const PileFoundation = {
    PileFoundation001,
    PileFoundation002,
}
